//
// Created by QU on 2023/8/21.
//

#ifndef VHDLSENDER_CJFREBORN_H
#define VHDLSENDER_CJFREBORN_H

#include "header.h"
#include "paramPasser.h"

int main(int argc, char *argv[]);


bool singleChannelGeneratorReborn(struct numParameter numParam);

bool multipleChannelGeneratorReborn(struct numParameter numParam);


vcTypeHeader_t
prepareHeadersData(uint16_t logicalChannelID, uint16_t physicalChannelID, uint16_t SQ,
                   uint16_t frameNum, uint16_t vc_type);

bool fillHeadersReborn(char *filename, vcTypeHeader_t header);

bool fillMFIReborn(char *filename, uint16_t MFI);

bool fillLoadReborn(char *filename, enum VC_TYPE vcType, uint8_t *outputOneColBuffer, size_t outputOneColBufferLength,
                    size_t nColsFrame);


#endif //VHDLSENDER_CJFREBORN_H
